package main

import (
	"fmt"
	"errors"
)

func main() {
	fmt.Println("main Start")
	defer func() {
		fmt.Println("defer Start")
		if p := recover(); p != nil {
			fmt.Printf("Panic: %s\n", p)
		}
		fmt.Println("defer End")
	}()
	panic(errors.New("Something Wrong"))
	// fmt.Println("main End")
}